'use strict';
(function() {

	ngApp.controller("loginController", ["$scope", "loginService", function($scope, loginService) {
		console.info("loginController...");

		loginService.queryById(1, function(obj) {
			$scope.user = obj;
		});

	}]);


})();